MultiFilter

GtkMultiFilter is the base class for filters that combine multiple filters.

Constructors

this
this(GtkMultiFilter* gtkMultiFilter, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

append
void append(Filter filter)

Adds a @filter to @self to use for matching.

getMultiFilterStruct
GtkMultiFilter* getMultiFilterStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

remove
void remove(uint position)

Removes the filter at the given @position from the list of filters used by @self.

Mixins

__anonymous
mixin ListModelT!(GtkMultiFilter)
Undocumented in source.
__anonymous
mixin BuildableT!(GtkMultiFilter)
Undocumented in source.

Static functions

getType
GType getType()

Variables

gtkMultiFilter
GtkMultiFilter* gtkMultiFilter;

the main Gtk struct

Mixed In Members

From mixin ListModelT!(GtkMultiFilter)

getListModelStruct
GListModel* getListModelStruct(bool transferOwnership)

Get the main Gtk struct

getItem
void* getItem(uint position)

Get the item at @position.

getItemType
GType getItemType()

Gets the type of the items in @list.

getNItems
uint getNItems()

Gets the number of items in @list.

getObject
ObjectG getObject(uint position)

Get the item at @position.

itemsChanged
void itemsChanged(uint position, uint removed, uint added)

Emits the #GListModel::items-changed signal on @list.

addOnItemsChanged
gulong addOnItemsChanged(void delegate(uint, uint, uint, ListModelIF) dlg, ConnectFlags connectFlags)

This signal is emitted whenever items were added to or removed from @list. At @position, @removed items were removed and @added items were added in their place.

From mixin BuildableT!(GtkMultiFilter)

getBuildableStruct
GtkBuildable* getBuildableStruct(bool transferOwnership)

Get the main Gtk struct

getBuildableId
string getBuildableId()

Gets the ID of the @buildable object.

Inherited Members

From Filter

gtkFilter
GtkFilter* gtkFilter;

the main Gtk struct

getFilterStruct
GtkFilter* getFilterStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
changed
void changed(GtkFilterChange change)

Notifies all users of the filter that it has changed.

getStrictness
GtkFilterMatch getStrictness()

Gets the known strictness of @filters.

match
bool match(ObjectG item)

Checks if the given @item is matched by the filter or not.

addOnChanged
gulong addOnChanged(void delegate(GtkFilterChange, Filter) dlg, ConnectFlags connectFlags)

Emitted whenever the filter changed.

From ListModelIF

getListModelStruct
GListModel* getListModelStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
getItem
void* getItem(uint position)

Get the item at @position.

getItemType
GType getItemType()

Gets the type of the items in @list.

getNItems
uint getNItems()

Gets the number of items in @list.

getObject
ObjectG getObject(uint position)

Get the item at @position.

itemsChanged
void itemsChanged(uint position, uint removed, uint added)

Emits the #GListModel::items-changed signal on @list.

addOnItemsChanged
gulong addOnItemsChanged(void delegate(uint, uint, uint, ListModelIF) dlg, ConnectFlags connectFlags)

This signal is emitted whenever items were added to or removed from @list. At @position, @removed items were removed and @added items were added in their place.

From BuildableIF

getBuildableStruct
GtkBuildable* getBuildableStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
getBuildableId
string getBuildableId()

Gets the ID of the @buildable object.

Meta